Optimal. Leaf size=45 \[ \frac {1}{2} x^2 \left (a+b \text {sech}^{-1}(c x)\right )-\frac {b \sqrt {1-c x}}{2 c^2 \sqrt {\frac {1}{c x+1}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6283, 74} \[ \frac {1}{2} x^2 \left (a+b \text {sech}^{-1}(c x)\right )-\frac {b \sqrt {1-c x}}{2 c^2 \sqrt {\frac {1}{c x+1}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 74
Rule 6283
Rubi steps
\begin {align*} \int x \left (a+b \text {sech}^{-1}(c x)\right ) \, dx &=\frac {1}{2} x^2 \left (a+b \text {sech}^{-1}(c x)\right )+\frac {1}{2} \left (b \sqrt {\frac {1}{1+c x}} \sqrt {1+c x}\right ) \int \frac {x}{\sqrt {1-c x} \sqrt {1+c x}} \, dx\\ &=-\frac {b \sqrt {1-c x}}{2 c^2 \sqrt {\frac {1}{1+c x}}}+\frac {1}{2} x^2 \left (a+b \text {sech}^{-1}(c x)\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 57, normalized size = 1.27 \[ \frac {a x^2}{2}+b \left (-\frac {1}{2 c^2}-\frac {x}{2 c}\right ) \sqrt {\frac {1-c x}{c x+1}}+\frac {1}{2} b x^2 \text {sech}^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.58, size = 73, normalized size = 1.62 \[ \frac {b c x^{2} \log \left (\frac {c x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}} + 1}{c x}\right ) + a c x^{2} - b x \sqrt {-\frac {c^{2} x^{2} - 1}{c^{2} x^{2}}}}{2 \, c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \operatorname {arsech}\left (c x\right ) + a\right )} x\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 63, normalized size = 1.40 \[ \frac {\frac {c^{2} x^{2} a}{2}+b \left (\frac {\mathrm {arcsech}\left (c x \right ) c^{2} x^{2}}{2}-\frac {\sqrt {-\frac {c x -1}{c x}}\, \sqrt {\frac {c x +1}{c x}}\, c x}{2}\right )}{c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.30, size = 36, normalized size = 0.80 \[ \frac {1}{2} \, a x^{2} + \frac {1}{2} \, {\left (x^{2} \operatorname {arsech}\left (c x\right ) - \frac {x \sqrt {\frac {1}{c^{2} x^{2}} - 1}}{c}\right )} b \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.39, size = 50, normalized size = 1.11 \[ \frac {a\,x^2}{2}+\frac {b\,x^2\,\mathrm {acosh}\left (\frac {1}{c\,x}\right )}{2}-\frac {b\,x\,\sqrt {\frac {1}{c\,x}-1}\,\sqrt {\frac {1}{c\,x}+1}}{2\,c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.53, size = 46, normalized size = 1.02 \[ \begin {cases} \frac {a x^{2}}{2} + \frac {b x^{2} \operatorname {asech}{\left (c x \right )}}{2} - \frac {b \sqrt {- c^{2} x^{2} + 1}}{2 c^{2}} & \text {for}\: c \neq 0 \\\frac {x^{2} \left (a + \infty b\right )}{2} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________